<template>
  <div class="DeliverResume">
    <div @click="handleDeliveResume">
      <slot name='container'></slot>
    </div>
  </div>
</template>

<script>
export default {
  props: ['data'],
  mounted(){
    console.log(this.data);
  },
  watch: {
    data: {
      handler: function (val) {
        this.data = val;
        console.log(this.data)
      },
      deep: true
    },
  },
  methods:{
    async handleDeliveResume(){
      let res = await this.$store.dispatch('resumePosted',this.data );
      this.info = res.data;
      console.log(res)
    }
  }
}
</script>

<style lang="less">
.DeliverResume {

}
</style>
